package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Commerce_Colipu_Category")
public class CommerceColipuCategory extends Model<CommerceColipuCategory> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Long Id;

    @TableId("CategoryId")
    private String CategoryId;

    @TableField("CategoryName")
    private String CategoryName;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;

    @TableField("DeleteFlag")
    private Integer DeleteFlag;


    @Override
    protected Serializable pkVal() {
        return this.CategoryId;
    }

}
